package com.ch02.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ClassName Dormitory
 * @Description 宿舍信息实体类
 * @Author Kx
 * @Date 2025/4/21 19:40
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dormitory {
    private Integer dormitoryId; // 编号
    private String stuName; // 学生姓名
    private String stuSex; // 性别
    private String clsName; // 班级
    private Date inDate; // 入住时间
    private Integer becNo; // 床号


    @Override
    public String toString() {
        return "Dormitory{" +
                "dormitoryId='" + dormitoryId + '\'' +
                ", stuName='" + stuName + '\'' +
                ", stuSex='" + stuSex + '\'' +
                ", clsName='" + clsName + '\'' +
                ", inDate=" + inDate +
                ", becNo=" + becNo +
                '}';
    }
}
